package com.stoken.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.stoken.dao.UserDao;
import com.stoken.domain.User;
import com.stoken.service.UserService;
import com.symbio.commons.Page;
import com.symbio.dao.hibernate.GenericDaoImpl;
import com.symbio.service.impl.AbstractServiceImpl;

@Service
public class UserServiceImpl extends AbstractServiceImpl<User, Long> implements UserService{
	
    @Autowired
	private UserDao userDao;
    
	@Override
	public GenericDaoImpl<User, Long> getDao() {		
		return userDao;
	}

	@Override
	public Page<User> find(Page<User> pageData) {		
		return userDao.find(pageData);
	}

}
